package com.ruoyi.vote.admin.domain.vo;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.ruoyi.common.annotation.ExcelDictFormat;
import com.ruoyi.common.convert.ExcelDictConvert;
import lombok.Data;
import java.util.Date;



/**
 * 活动 - 奖品管理视图对象 vote_prize
 *
 * @author 筑巢
 * @date 2023-07-17
 */
@Data
@ExcelIgnoreUnannotated
public class VotePrizeVo {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long id;

    /**
     * 奖品名
     */
    @ExcelProperty(value = "奖品名")
    private String name;

    /**
     * 价值
     */
    @ExcelProperty(value = "价值")
    private BigDecimal price;

    /**
     * 奖品logo
     */
    @ExcelProperty(value = "奖品logo")
    private String logo;

    /**
     * 状态
     */
    @ExcelProperty(value = "状态", converter = ExcelDictConvert.class)
    @ExcelDictFormat(dictType = "sys_common_status")
    private Integer status;

    /**
     * 投票时间(定时同步时间)
     */
    @ExcelProperty(value = "投票时间(定时同步时间)")
    private Date ticketTime;


}
